home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12253 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  568 b 

  1. Path: maine.maine.edu!io92118
  2. Organization: University of Maine System
  3. Date: Fri, 29 Mar 1996 17:41:01 EST
  4. From: <IO92118@MAINE.MAINE.EDU>
  5. Message-ID: <96089.174101IO92118@MAINE.MAINE.EDU>
  6. Newsgroups: comp.lang.c
  7. Subject: Help for question of c???
  8.  
  9. Hi:
  10.  
  11. 1.I want to read an image file.
  12. I used character to read two bytes where an integer is stored there.
  13. An character is one byte so I use two characters.
  14. How to combine these two characters into one integer and write it
  15. out?
  16.  
  17.  
  18. 2. Use write function, how to write a new line.
  19.  
  20. Thank you very much for your help.
  21.  
  22.  
  23. Han
  24.